SftTree/OCX 7.0

SftPictureObject.BitmapHandle Property

Softel vdm, Inc.

Defines the image object using a bitmap handle.

Syntax       

Get

VB.NET

hBitmap = object.BitmapHandle  As Integer

VB

hBitmap = object.BitmapHandle  As OLE_HANDLE

C#.NET

int hBitmap = object.BitmapHandle;

VC++

OLE_HANDLE hBitmap = object->BitmapHandle;
OLE_HANDLE hBitmap = object->GetBitmapHandle();

C

HRESULT object->get_BitmapHandle(OLE_HANDLE* hBitmap);

Delphi

hBitmap := object.BitmapHandle  : Cardinal;

Put

VB.NET

object.BitmapHandle = hBitmap  As Integer

VB

object.BitmapHandle = hBitmap  As OLE_HANDLE

C#.NET

int object.BitmapHandle = hBitmap;

VC++

OLE_HANDLE object->BitmapHandle = hBitmap;
void object->PutBitmapHandle(OLE_HANDLE hBitmap);

C

HRESULT object->put_BitmapHandle(OLE_HANDLE hBitmap);

Delphi

object.BitmapHandle := hBitmap  : Cardinal;

object

A SftPictureObject object.

hBitmap

Defines the image object using a bitmap handle. The bitmap handle can be NULL, in which case the SftPictureObject object is cleared.

Comments

The BitmapHandle property defines the image object using a bitmap handle.

Typically, .NET applications use the NETImageObject property to define an image, C and C++ applications use BitmapHandle or Image, VB6 and other COM applications use the Picture property.

The SftPictureObject.Type property is set to sftTypeBitmap.  The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.

See Also  SftPictureObject Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com